import styled from "styled-components";

export const HomeWrapper = styled.div`
  width: 1000px;
  margin: 10px auto 0 auto;
  display: flex;
`;

export const HomeLeft = styled.div`
  width: 694px;
  margin-right: 10px;
  .title-pic {
    width: 100%;
    height: 94px;
    margin-bottom: 10px;
    border-radius: 2px;
  }
`;

export const HomeRight = styled.div`
  width: 296px;
  height: 500px;
`;

export const TitleWrapper = styled.div`
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.1);
  height: 59px;
  width: 100%;
  display: flex;
  font-size: 16px;
  line-height: 59px;
  background: #fff;
  border-bottom: 1px solid #f6f6f6;
`;

export const TitleItem = styled.div`
  margin: 0 22px;
  &.is-active {
    color: #0084ff;
  }
`;

export const TopicWrapper = styled.div`
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.1);
`;

export const TopicItem = styled.div`
  padding: 20px;
  border-bottom: 1px solid #f6f6f6;
  .link {
    text-decoration: none;
  }
  .topic-title {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    &:hover {
      color: #175199;
    }
  }
`;

export const ItemContent = styled.div`
  margin-top: 16px;
  display: flex;
  img {
    height: 105px;
    margin-right: 20px;
  }
  .topic-content {
    line-height: 1.7;
    font-size: 15px;
  }
  .read-more {
    color: #175199;
    font-size: 14px;
    cursor: pointer;
  }
`;

export const ItemDesc = styled.div`
  height: 200px;
  .read-more {
    color: #175199;
    font-size: 14px;
    cursor: pointer;
  }
`;

export const ItemTools = styled.div`
  display: flex;
  margin-top: 10px;
  line-height: 31px;
  font-size: 14px;
  .trangle {
    width: 36px;
    background: rgba(0, 132, 255, 0.1);
    text-align: center;
    border-radius: 2px;
    color: #0084ff;
    margin-left: 5px;
  }
  .icon {
    font-size: 13px;
    margin-right: 5px;
  }
  span {
    padding: 0 15px;
    color: #8590a6;
    cursor: pointer;
  }
`;

export const ItemBtn = styled.div`
  width: 97px;
  height: 31px;
  line-height: 31px;
  color: #0084ff;
  background: rgba(0, 132, 255, 0.1);
  text-align: center;
  border-radius: 2px;
  cursor: pointer;
`;

export const SideTop = styled.div`
  width: 98%;
  height: 200px;
  padding: 3px;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items:center;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.1);
`;

export const SideMiddle = styled.div`
  margin-top: 10px;
  width: 100%;
  height: 200px;
  background-color: #fff;
  box-sizing:border-box;
  padding:0 15px;
  color: #8590a6;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.1);
  .none{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .flex{
    display:flex;
    height:45px;
    justify-content:space-between;
    align-items:center;
    margin-top: 10px;
    .icon {
      font-size: 18px;
      padding-right: 10px;
    }
    .title {
      font-size: 14px;
      padding-left: 6px;
    }
    .level {
      color: #0084ff;
      padding-left: 10px;
      letter-spacing: 2px;
    }
  }
  .border-line {
    border-top: 1px solid #f6f6f6;
    padding: 20px 0;
    display: flex;
    font-size: 12px;
  }
  .left-line {
    width: 50%;
    border-right: 1px solid #ebebeb;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .comm {
    font-size: 12px;
    padding: 5px 0;
  }
  .num {
    color: #444;
  }
  .read {
    font-size: 16px;
    font-weight: 888;
    padding: 5px 0;
  }
`;

export const SideBot = styled.div`
  margin-top: 10px;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  flex: 1;
  background-color: #fff;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.1);
  .border-line {
    border-top: 1px solid #f6f6f6;
    padding: 20px 0;
    display: flex;
  }
`;
export const SideCollect = styled.div`
  margin-top: 10px;
  width: 100%;
  min-height: 200px;
  color: #8590a6;
  height: auto;
  background-color: #fff;
  padding: 10px 20px;
  box-sizing: border-box;
`;

export const CollectItem = styled.div`
  width: 90%;
  min-height: 35px;
  padding: 5px 0;
  height: auto;
  font-size: 14px;
  .collectFlex {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hint{
    background-color:#f6f6f6;
    padding:6px 10px;
    color:#8590a6;
    border-radius:2px
  }
  .space{
    margin-left:5px
  }
`;

export const TopItem = styled.div`
  width: 96px;
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  .icon {
    font-size: 22px;
  }
  &:nth-child(1) {
    color: blue
  }
  &:nth-child(2) {
    color: orange
  }
  &:nth-child(3) {
    color: #4cd3c2
  }
  &:nth-child(4) {
    color: #ea6227
  }
  &:nth-child(5) {
    color: #4d4c7d
  }
  &:nth-child(6) {
    color: #00a8cc
  }
`;
